package com.rzjm.api.dao;

import com.rzjm.api.entity.DeviceRangeResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 传感器
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Mapper
public interface DeviceRangeResultDao extends BaseDao<DeviceRangeResult> {

    /**
     *  判断表名是否存在
     * @param tableName
     * @return
     */
    int isTableExist(@Param("tableName") String tableName);

    /**
     *  添加表
     * @param tableName
     * @return
     */
    int createRecordTable(@Param("tableName") String tableName);


}
